from rest_framework import serializers
from rest_framework.response import Response

from spit.models import Spit

class SpitLisModelSerializer(serializers.ModelSerializer):
    share=serializers.IntegerField(default=0)
    state=serializers.IntegerField(default=0)
    class Meta:
        model = Spit
        fields='__all__'

